import request from '@/util/request';
import {post} from "axios";
export default {
    findAllOrder(){
        return request({//查询所有订单
            url:`/user/tOrder/list`,
            method:"get"
        })
    },
    //添加或修改订单
    save(url,method,data){
        return request({
            url,
            method,
            data
        });
    },
    delete(id){//删除订单
        return request({
            url:`/user/tOrder/delete/${id}`,
            method:"delete"
        })
    }
}